dxp-ux

(0 reviews)

List BillingAccount (TMF666)

This retrieves a billing account information used by:

  1. identityType & identityNumber or locationId for PR.
  2. serviceNumber for PA.
URL
http://[localhost]:[port]/dxp-ux/v1/{businessId}/billingAccount
URL PARAMS
nametypedescriptionrequired
businessIdString2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one is "PR"-Puerto Rico and ''PA" -Panama
Y
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
x-tax-identifierstringTax identifier value/ SSN. This is encrypted value.N
channelIdstringChannel to identify the business group. Can be: "APP"Y(PR), N(PA)
X-Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications. Pattern: ^[a-zA-Z0-9-+/=_]{16,64}$ Minimum characters: 16 Maximum characters: 64N
lobStringEnum: PREPAID, POSTPAID,FIXEDN

Note: To retrieve PR debtCheck details based on SSN need to pass "x-tax-identifier".

Query Params
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
identityTypeStringDescribes the type of the id. Example: "SSN"N/A(PA)
Y(PR)
balanceCheckBooleanFlag for customer account debt information. API will return customer accounts balance if this flag is true.N/A(PA)
N(PR)
locationIdStringLocation Id is used to fetch account debt using address id.N/A(PA)
Y(PR)
identityNumberStringPersonal Identification code/valueN/A(PA)
Y(PR)
characteristic.nameStringName of the characteristic.
Here it is "ServiceId" for PA.
Y(PA)
N/A(PR)
characteristic.valueStringValue of the characteristic.
Example: 69877235
Y(PA)
N/A(PR)

Note: To retrieve PR debtCheck details either "locationId" or "identityType" and "identityNumber" are required. To Fetch the response based on Location ID need to pass "locationId".

Data Model - Response
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
idStringUnique identifier of the accountY (PA)
hrefStringUnique reference of the accountY(PA)
lastModifiedstringDate of last modification of the accountN (PA)
nameStringName of the accountY (PA)
@typeStringWhen sub-classing, this defines the sub-class entity nameY (PA)
stateStringContains the lifecycle state such as: Active, Closed, Suspended and so onY (PA)
characteristic[]arrayA list of characteristics that characterize this billingAccountY (PA)
characteristic.nameStringName of the characteristic
For PA, it is "ServiceId"
Y (PA)
characteristic.valueStringvalue of the characteristic
For PA, it is serviceNumber
Y (PA)
Expected values for CSG FIXED Auto Pay
Field NameDescription
paymentStatusblank - Active or Normal
S - Suspended
B - Balance is less than EFT minimum debit amount
D - Debit Error
E - Prenote Error
G - EFT debit had been sent to ACH processor
P - Prenote Error
W - Waiting
Key considerations
PA Implementation:

Please refer the response from following URL: DXP-UX API - ListBillingAccount

1. This is implemented for POSTPAID and FIXED customers.
2. This provides basic information like AccountNumber, AccountName and State for the provided serviceNumber.
3. Possible values for state:
       A - Allocated but not yet active
       B - Call Barred
    C - Ceased
    D - In default but not on TOS
    E - Written off
    F - Closed
    O - Debt Outsource
    P - In default but promise to pay
    S - Recommended for cessation
    T - Tossed
    W - Working
4. For all the dateTime fields
  - Any datetime before 1908-04-22 will show offset -05:18
  - Any datetime on or after 1908-04-22 will show offset -05:00

Reviews